Nowoczesny słownik polsko-angielski

off the top of one’s head

on the spur of the moment